package com.xx.eshop.dao;

import java.util.List;

import com.xx.eshop.entity.Category;

public interface CategoryDao {

	public void save(Category category);

	public void update(Category category);

	public void delete(int id);

	public Category findById(int id);

	public List<Category> findAll();

	public List<Category> findByPid(int pid);

	public Integer findNextId(int pid);
	
	

}
